<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>MVVM</title>
    <!-- 开发环境版本，包含了有帮助的命令行警告 -->
<script src="vue.js"></script>
</head>
<body>
    <div id="root">
        <h1>学校名称：{{name}}</h1>
        <!-- <h1>学校地址：{{address}}</h1> -->
        <h1>测试：{{$options}}</h1>

    </div>
   <script type="text/javascript">
    // ViewModel
    const v = new Vue({
         el:'#root',
        data: {
            name:'学习',
            address:"中泰"
        }
    })
    console.log(v);
   </script>
</body>
</html>